
<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
    <h4 class="modal-title" id="myModalLabel">非冰鲜供应筛选</h4>
</div>
<form class="form-horizontal J_ajaxForm" role="form" method="post" action="" data-validate="validate">
    <div class="modal-body">
        <div class="form-group">
            <label class="col-sm-3 control-label">发布者手机</label>
            <div class="col-sm-9">
                <input type="text" class="form-control" placeholder="手机号码" name="phone">
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-3 control-label">状态</label>
            <div class="col-sm-9">
                <select class="form-control" name="state" id="state">
                    <option value="-2">所有</option>
                    <option value="-1">失败</option>
                    <option value="0">未审核</option>
                    <option value="1">审核成功</option>
                </select>
            </div>
        </div>

        <div class="title_bar">发布时间范围</div>
        <div class="form-group">
            <label class="col-sm-3 control-label">开始时间:</label>
            <div class="col-sm-9">
                <div class="form-group">
                    <input type="text" class="form-control" id="beginDisplayTime" name="beginDisplayTime" onclick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})" value=""/>
                </div>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label"查找>结束时间:</label>
            <div class="col-sm-9">
                <div class="form-group">
                    <input type="text" class="form-control" id="endDisplayTime" name="endDisplayTime" onclick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})" value=""/>
                </div>
            </div>
        </div>
    </div>
    <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
        <button type="button" class="btn btn-primary" id="submitBtn">提交</button>
    </div>
</form>

<script>

    function validate($from) {
        return true;
    }

    $(document).ready(function () {
        var lists;
        $("#submitBtn").click(function(){
            getISupplyData(1,$("form").serializeJson());
        });
    });
</script>